package mjava.lib;

import java.io.Serializable;

public class DPARAM implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 6437282187109401839L;
	private DTYPE paramType;
	private int paramTaille;
	private String paramName;
	private int paramDepl;
	
	public DPARAM(String name, DTYPE type) {
		this.paramType = type;
		this.paramTaille = type.getTaille();
		this.paramName = name;
		
		//temporary
		paramDepl = 0;
	}
	
	public DTYPE getParamType() {
		return this.paramType;
	}
	
	public int getParamTaille() {
		return this.paramTaille;
	}
	
	public String getParamName() {
		return this.paramName;
	}
	
	public int getParamDepl() {
		return paramDepl;
	}
	
	public void setParamDepl(int d) {
		this.paramDepl = d;
	}
}
